package com.syp.auth.export.util;

import com.syp.auth.export.common.GeneralUserVo;

public final class CurrentUserHolder {
	
	private static final ThreadLocal<GeneralUserVo> context = new ThreadLocal<GeneralUserVo>();
	
	public static void set(GeneralUserVo guser) {
		context.set(guser);
	}

	public static GeneralUserVo get() {
		return context.get();
	}

	public static void clear() {
		context.remove();
	}
}
